// pinia数据管理 子组件导入 使用导出
import useCategoryStore from './modules/category'
import useHomeStore from './modules/home'
// 商品详情
 import useGoodsStore from './modules/goods'
import useUserStore from './modules/user'
import useCartStore from './modules/cart'
import useCheckoutStore from './modules/checkout'
function useStore(){
    return {
        category:useCategoryStore(),
        home:useHomeStore(),
        goods:useGoodsStore(),
        user:useUserStore(),
        cart:useCartStore(),
        checkout:useCheckoutStore()
    }
}
export default useStore